package com.ciaojian.worker;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @author Atlakyn
 */
@MapperScan({"com.ciaojian.core.mapper"})
@SpringBootApplication(scanBasePackages = {
        "com.ciaojian.core.*",
        "com.ciaojian.worker.*",
        "com.ciaojian.pay.alipay",
        "com.ciaojian.miniapp.model.request"
})
@ServletComponentScan("com.ciaojian.core.config")
public class WorkerApplication {
    public static void main(String[] args) {
        SpringApplication.run(WorkerApplication.class, args);
    }
}
